# -*- encoding: utf-8 -*-
require File.expand_path('../lib/xcodeproj/gem_version', __FILE__)

Gem::Specification.new do |s|
  s.name     = 'xcodeproj'
  s.version  = Xcodeproj::VERSION
  s.license  = 'MIT'
  s.email    = 'eloy.de.enige@gmail.com'
  s.homepage = 'https://github.com/cocoapods/xcodeproj'
  s.authors  = ['Eloy Duran']

  s.summary     = 'Create and modify Xcode projects from Ruby.'
  s.description = %(
    Xcodeproj lets you create and modify Xcode projects from Ruby. Script
    boring management tasks or build Xcode-friendly libraries. Also includes
    support for Xcode workspaces (.xcworkspace) and configuration files (.xcconfig).
  ).strip.gsub(/\s+/, ' ')

  s.files         = %w(README.md LICENSE) + Dir['lib/**/*.rb']

  s.executables   = %w(xcodeproj)
  s.require_paths = %w(lib)

  s.add_runtime_dependency 'atomos',         '~> 0.1.3'
  s.add_runtime_dependency 'CFPropertyList', '>= 2.3.3', '< 4.0'
  s.add_runtime_dependency 'claide',         '>= 1.0.2', '< 2.0'
  s.add_runtime_dependency 'colored2',       '~> 3.1'
  s.add_runtime_dependency 'nanaimo',        '~> 0.3.0'
  s.add_runtime_dependency 'rexml',          '>= 3.3.2', '< 4.0'

  ## Make sure you can build the gem on older versions of RubyGems too:
  s.rubygems_version = '1.6.2'
  s.required_rubygems_version = Gem::Requirement.new('>= 0') if s.respond_to? :required_rubygems_version=
  s.required_ruby_version = '>= 2.0.0'
  s.specification_version = 3 if s.respond_to? :specification_version
end
